package com.cc.stock.service;

import com.cc.stock.entity.Delegate;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DelegateService {
    void addDelegate(int userId, String stockId, double price, int num, boolean type, String time);
    List<Delegate> findAllDelegate(int userId);

    void cancelDelegate( int delegateId);
}
